import { request } from '@/utils/request'
import type { userType } from '@/types/user'
// 调和用户相关的接口

export const loginByPassword = (mobile: string, password: string) =>
  request<userType>('login/password', 'POST', {
    mobile,
    password
  })
